package com.tcxhb.job.dao.repository;

/**
 * author:auto.generator
 * time: 2023-11-02
 */
public interface JobLockRepository {

    /**
     * 创建对象
     *
     * @param lockDO
     * @return
     */
    Boolean update(String key, String newValue, String oldValue);
    /**
     *
     * @param key
     * @return
     */
    String queryByKey(String key);
}
